package cn.iocoder.yudao.module.diy.controller.admin.poster.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 装修海报新增/修改 Request VO")
@Data
public class PosterSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "1743")
    private Long id;

    @Schema(description = "插件id", requiredMode = Schema.RequiredMode.REQUIRED, example = "27275")
//    @NotNull(message = "插件id不能为空")
    private Long addonId;

    @Schema(description = "海报名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @NotEmpty(message = "海报名称不能为空")
    private String name;

    @Schema(description = "海报类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotEmpty(message = "海报类型不能为空")
    private String type;

    @Schema(description = "海报支持渠道", requiredMode = Schema.RequiredMode.REQUIRED)
//    @NotEmpty(message = "海报支持渠道不能为空")
    private String channel;

    @Schema(description = "配置值json")
    private String value;

    @Schema(description = "是否启用 1启用 2不启用", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotNull(message = "是否启用 1启用 2不启用不能为空")
    private Integer status;

    @Schema(description = "所属插件", requiredMode = Schema.RequiredMode.REQUIRED)
//    @NotEmpty(message = "所属插件不能为空")
    private String addon;

}